package com.jsh.erp.datasource.entities;

import io.swagger.annotations.ApiModelProperty;

public class Function {
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("编号")
    private String number;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("上级编号")
    private String parentNumber;
    @ApiModelProperty("链接")
    private String url;
    @ApiModelProperty("组件")
    private String component;
    @ApiModelProperty("收缩")
    private Boolean state;
    @ApiModelProperty("排序")
    private String sort;
    @ApiModelProperty("启用")
    private Boolean enabled;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("功能按钮")
    private String pushBtn;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("删除标记，0未删除，1删除")
    private String deleteFlag;

    @ApiModelProperty("有效标识  0-未上传 1-已上传 2-未下拉（调拨的状态")
    private String uploadFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getParentNumber() {
        return parentNumber;
    }

    public void setParentNumber(String parentNumber) {
        this.parentNumber = parentNumber == null ? null : parentNumber.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component == null ? null : component.trim();
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort == null ? null : sort.trim();
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getPushBtn() {
        return pushBtn;
    }

    public void setPushBtn(String pushBtn) {
        this.pushBtn = pushBtn == null ? null : pushBtn.trim();
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
    }

    public String getUploadFlag() {
        return uploadFlag;
    }

    public void setUploadFlag(String uploadFlag) {
        this.uploadFlag = uploadFlag == null ? null : uploadFlag.trim();
    }
}
